<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div th:replace="~{commons::top}"></div>
<div style="height: 500px;">
    页面内容
</div>
<div th:replace="~{commons::footer}"></div>

</body>
</html>